package com.kehutong.contact.service;

import com.kehutong.common.util.Token;
import com.kehutong.contact.entity.Customer;
import com.kehutong.contact.service.impl.CustomerRecordServiceImpl;
import org.coraframework.inject.ImplementedBy;
import org.coraframework.json.JSONObject;

/**
 * @author liujinwang
 * description:
 */
@ImplementedBy(CustomerRecordServiceImpl.class)
public interface CustomerRecordService {
    Object page(JSONObject jsonObject);

    Object saveOrUpdate(Customer customer, Token token) throws Exception;

    Object delete(Customer customer);
}
